-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace more .all
imports
#35372
Replace more .all
imports
#35372
Conversation
When doing intensive polynomial arithmetic with the NTL implementation the constructor with lists is called a large number of times and may spend a lot of time constructing the vector_space and FreeModuleElement objects. The very common call to vector_space(map=False) is optimized to be as cheap as possible using the already cached object. The common case of lists of length 0 and 1 is replaced by cheaper shortcuts.
EDIT: all my problems were fixed by I'm leaving the original comment below in case someone has a similar issue. The problem below was caused by You are just making my life miserable:
I did nuke all the empty One thing I don't understand is: why on earth are the empty I would like to argue that the behaviour with or without these empty files should be identical. That's the point of PEP 420: that directories without In any case, as I requested before, it would be better if there is JUST ONE single point of "removing empty files that may break havoc" and then don't do it again. Even more: could we please have (1) one PR that introduces all the changes needed to support removing empty
without having any type of trouble and without having to add random (2) a separate PR with only removal of empty Ideally (1) is merged in one release, and (2) is merged in a later release.
|
Kindly rephrase for clarity |
4f7d0db
to
1507209
Compare
Rebased away from #35322. Ready for review. |
…rts from more packages
79a3724
to
0234b30
Compare
Rebased on top of #35418 |
FWIW, after fixing the trivial merge conflict, all tests pass for me on void linux. |
Merged & resolved |
LGTM |
Thanks! |
📚 Description
This is a follow-up on:
As preparation for #35322, which is changing more packages to implicit namespace packages, we remove
.all
imports from these packages throughout the Sage library.This is part of:
📝 Checklist
⌛ Dependencies